﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Td.Additional.ComponentModel;

namespace TestApp.Xml
{
    [Id("Id")]
    public abstract class BaseComponent
    {
        private static int id = 1;

        public int Id { get; set; }

        public BaseComponent()
        {
            Id = id;
            id++;
        }
    }
}